# CFLAGS = -std=c++11 -I ../../build/release-install-cpp11/include
# LDFLAGS = -L ../../build/release-install-cpp11/lib -lmuduo_net -lmuduo_base -ljsoncpp -pthread
# all:svr cli
# svr:test_server.cc
# 	g++ -o  $@ $^ $(CFLAGS) $(LDFLAGS) 
# cli:test_client.cc
# 	g++ -o  $@ $^ $(CFLAGS) $(LDFLAGS) 

# .PHONY:clean
# clean:
# 	rm -f svr cli


CFLAGS = -std=c++11 -I ../../build/release-install-cpp11/include
LDFLAGS = -L ../../build/release-install-cpp11/lib -lmuduo_net -lmuduo_base -ljsoncpp -pthread
all:svr cli
svr:test_dispatch_svr.cc
	g++ -o  $@ $^ $(CFLAGS) $(LDFLAGS) 
cli:test_dispatch_cli.cc
	g++ -o  $@ $^ $(CFLAGS) $(LDFLAGS) 

.PHONY:clean
clean:
	rm -f svr cli